package com.dgut.service.serviceImpl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dgut.common.StateForOrder;
import com.dgut.mapper.OrderFlagMapper;
import com.dgut.mapper.OrderGrabbingMapper;
import com.dgut.pojo.OrderFlag;
import com.dgut.pojo.OrderGrabbing;
import com.dgut.service.OrderGrabbingService;
import com.dgut.utils.PageRequestInfo;
import com.dgut.utils.PageResult;
import com.dgut.utils.PageUtils;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderGrabbingServiceImpl implements OrderGrabbingService {
    @Resource
    private OrderFlagMapper orderFlagMapper;
    @Resource
    private OrderGrabbingMapper orderGrabbingMapper;



    /**
     * start-zwb
     */
    /**
     * end-zwb
     */


    /**
     * start-gxd
     */
    /**
     * end-gxd
     */


    /**
     * start-lzh
     */
    /**
     * end-lzh
     */

    /**
     * start-hwf
     */




    @Override
    public boolean deleteOrderGrabbing(int id) {
        if(orderGrabbingMapper.deleteById(id) >= 1){
            return true;
        }else{
            return false;
        }

    }
    /**
     * end-hwf
     */

}

